home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ZZZZEEEERRRROOOO((((7777)))) ZZZZEEEERRRROOOO((((7777))))
-
-
-
- NNNNAAAAMMMMEEEE
- zero - source of zeroes
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- A zero special file is a source of zeroed unnamed memory.
-
- Reads from a zero special file always return a buffer full of zeroes.
- The file is of infinite length.
-
- Writes to a zero special file are always successful, but the data written
- is ignored.
-
- Mapping a zero special file creates a zero-initialized unnamed memory
- object of a length equal to the length of the mapping and rounded up to
- the nearest page size as returned by _g_e_t_p_a_g_e_s_i_z_e(2). Multiple processes
- can share such a zero special file object provided a common ancestor
- mapped the object MAP_SHARED.
-
- FFFFIIIILLLLEEEESSSS
- /dev/zero
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- fork(2), mmap(2)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-